#include"Shape.h"
#include"CTriangle.h"
CTriangle::CTriangle(int w, int h) :
	Shape(w)
{
	height = h;
}

int CTriangle::area(){
	return (width * height / 2);
}
